import request from '@/utils/request'

// 查询钱包账户金额列表
export function listWallet_amount(query) {
    return request({
        url: '/wallet/wallet_amount/list',
        method: 'get',
        params: query
    })
}

// 查询钱包账户金额详细
export function getWallet_amount(id) {
    return request({
        url: '/wallet/wallet_amount/' + id,
        method: 'get'
    })
}

// 新增钱包账户金额
export function addWallet_amount(data) {
    return request({
        url: '/wallet/wallet_amount',
        method: 'post',
        data: data
    })
}

// 修改钱包账户金额
export function updateWallet_amount(data) {
    return request({
        url: '/wallet/wallet_amount',
        method: 'put',
        data: data
    })
}

// 删除钱包账户金额
export function delWallet_amount(id) {
    return request({
        url: '/wallet/wallet_amount/' + id,
        method: 'delete'
    })
}

// 导出钱包账户金额
export function exportWallet_amount(query) {
    return request({
        url: '/wallet/wallet_amount/export',
        method: 'get',
        params: query
    })
}